package com.doyens.item.api;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

public interface CategoryApi {
    //根据分类的id查询分类名称   1,2,3
    @GetMapping("/category")
    List<String> queryNameByIds(@RequestParam("ids") List<Long> ids);



}
